﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace B.S.Traceability.Domain
{
    /// <summary>
    /// 商品表
    /// </summary>
    public class Shops
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ShopId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ShopProductionBatches { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ShopName { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProductionLicenseNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturers { get; set; }
        /// <summary>
        /// 信息完整度
        /// </summary>
        public int CompletenessOfInformation { get; set; }
        /// <summary>
        /// 导出数量 
        /// </summary>
        public int NumberOfExports { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverImage { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatePerson { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatePerson { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool isDel { get; set; }
    }
}
